import request from '@/utils/request'

export function add(data) {
  return request({
    url: '/autotest/check/searchAll',
    method: 'get',
    data
  })
}

export function getAllChecks() {
  return request({
    url: '/autotest/check/getAll',
    method: 'get'
  })
}

export function deleteCheck(clazz, method) {
  return request({
    url: '/autotest/check/delete',
    method: 'get',
    params: { clazz, method }
  })
}
